package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Agentia;
import com.zhijian.medical.entity.vo.request.AgentiaSearchBmVo;
import com.zhijian.medical.entity.vo.request.AgentiaSearchVo;
import com.zhijian.medical.entity.vo.response.AgentiaBmVo;
import com.zhijian.medical.entity.vo.response.AgentiaVo;

import java.util.List;

public interface AgentiaMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Agentia record);

    int insertSelective(Agentia record);

    Agentia selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Agentia record);

    int updateByPrimaryKey(Agentia record);

    int count(AgentiaSearchVo agentiaSearchVo);

    List<AgentiaVo> selectList(AgentiaSearchVo agentiaSearchVo);

    AgentiaVo selectVoById(Long id);

    List<AgentiaBmVo> selectVoByCategoryId(AgentiaSearchBmVo bmSearchBmVo);

    int countByCategoryId(Long categoryId);
}